Adwaita: Try harder to fix arrow rendering
authorMatthias Clasen <mclasen@redhat.com>
Sun, 20 Dec 2015 01:46:26 +0000 (20:46 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 20 Dec 2015 01:46:26 +0000 (20:46 -0500)
Fiddle with specificity to keep hovered modelbutton arrows
from rendering background.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 9fd219c0a328b2a875181c1be238f81db7d05659..52429d03a52a6d9dc0d7ea59c443234933e30f95 100644 (file)
@@ -741,8 +741,9 @@ modelbutton.flat,
   }
 }
 
-modelbutton arrow {
+modelbutton.flat arrow {
   background: none;
+  &:hover { background: none; }
   &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
   &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
 }
index 60c0bc13e7600d7fb058064606a7613830c79ea2..bd67454569fc948af055feff54841b11e63150bc 100644 (file)
@@ -1241,11 +1241,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #4b5150; }
 
-modelbutton arrow {
+modelbutton.flat arrow {
   background: none; }
-  modelbutton arrow.left {
+  modelbutton.flat arrow:hover {
+    background: none; }
+  modelbutton.flat arrow.left {
     -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
-  modelbutton arrow.right {
+  modelbutton.flat arrow.right {
     -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
 
 button.color, headerbar button.color.titlebutton,
index 8199fb724591602c712534d234a7b265e3aa0eb1..78fc0f610324a5978ed10ed8ec5a014c2c49d1c0 100644 (file)
@@ -1241,11 +1241,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #d5d6d5; }
 
-modelbutton arrow {
+modelbutton.flat arrow {
   background: none; }
-  modelbutton arrow.left {
+  modelbutton.flat arrow:hover {
+    background: none; }
+  modelbutton.flat arrow.left {
     -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
-  modelbutton arrow.right {
+  modelbutton.flat arrow.right {
     -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
 
 button.color, headerbar button.color.titlebutton,